package com.zhuanzhuan.hero.user.enums;

import lombok.Getter;

/**
 * @ClassName UserAuthStateEnum
 * @Description
 * @Author hanjunjun
 * @Date 2024/6/27 19:17
 */
@Getter
public enum UserAuthStateEnum {

    NO_AUTH(0, "未认证"),
    AUTHENTICATED(1, "已认证"),
    AUDITING(2, "审核中"),
    AUDIT_FAIL(3, "审核失败")
    ;

    private final Integer code;

    private final String name;

    UserAuthStateEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
